import request from '@/utils/request'

// 校验客户的身份信息
export function checkCustomerId(query) {
  return request({
    url: '/business/rentCar/checkCustomerId',
    method: 'get',
    params: query
  })
}


export function showCarImgs(query) {
  return request({
    url: '/business/rentCar/showCarImgs',
    method: 'get',
    params: query
  })
}


export function toRent(query) {
  return request({
    url: '/business/rentCar/toRent',
    method: 'get',
    params: query
  })
}

export function doRent(data) {
  return request({
    url: '/business/rentCar/doRent',
    method: 'post',
    data: data
  })
}
